package com.archgeek.java.jvm;

import org.openjdk.jol.info.ClassLayout;

/**
 * @author pizhihui
 * @date 2023-04-25 20:42
 */
public class ObjectSize {


    public static void main(String[] args) {

        Object o = new Object();
        System.out.println(ClassLayout.parseInstance(o).toPrintable());

    }


}
